package org.penguin.study.bk.user.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.penguin.study.bk.user.entity.User;

/**
 * @author chengyinghua
 */
@Mapper
public interface UserMapper extends BaseMapper<User> {

    User selectUserAndOrganizationUsingResultTypeByUserId(String userId);

    User selectUserAndOrganizationUsingResultMapByUserId(String userId);

    int createUser(User user);

}
